package Clothing.dao;

import java.util.List;
import java.util.Map;

import Clothing.entity.ReturnAllEntity;
import Clothing.entity.ReturnEntity;

public interface ReturnDao {
    int deleteByPrimaryKey(Integer returnid);

    int insert(ReturnEntity record);

    int insertSelective(ReturnEntity record);

    ReturnEntity selectByPrimaryKey(Integer returnid);

    int updateByPrimaryKeySelective(ReturnEntity record);

    int updateByPrimaryKey(ReturnEntity record);

    List<ReturnAllEntity> getAll(Map<String, Object> map);

    List<ReturnEntity> selectByLeaseID(Integer leaseId);

    List<ReturnEntity> selectReturnByClothingId(Map<String, Object> map);
}